﻿using System;
using System.Runtime.InteropServices;

namespace Vtron.HipcConfigurationTools.Domain
{
    /// <summary>
    /// 设置I帧间隔的应答
    /// </summary>
    /// <remarks>
    /// typedef struct
    /// {
    ///     T_HIPC_NET_HEADER	   head;
    ///     Uint8 channel;       
    ///     Uint16  keyFrameInterval ;   //I帧的间隔
    /// }T_HIPC_VIDEO_GOP_RESP;
    /// </remarks>
    [Serializable]
    [StructLayout(LayoutKind.Sequential, Pack = 1)]
    public struct T_HIPC_VIDEO_GOP_RESP
    {
        #region Fields

        /// <summary>
        /// 网络协议数据头
        /// </summary>
        public T_HIPC_NET_HEADER head;

        /// <summary>
        /// 通道号
        /// </summary>
        public byte channel;

        /// <summary>
        /// I帧的间隔
        /// </summary>
        public UInt16 keyFrameInterval;

        #endregion
    }
}
